import 'package:json_annotation/json_annotation.dart';
part 'my_doctor_service_list_model.g.dart';

@JsonSerializable(explicitToJson: true)
class MyDoctorServiceListModel {
  String? id;
  String? drugName;
  String? patientIcon;
  String? serviceId;
  String? updateTime;
  int? pageIndex;
  int? pageSize;
  String? doctorIcon;
  String? type; // 4-虚拟服务 5-量表服务
  String? doctorId;
  int? price;
  String? patientName;
  String? sex;
  String? age;
  String? doctorName;
  String? createTime;
  String? remark;
  String? status; // '4.2.4  untreated：未使用，finish：已使用，refund：已退费'
  String? patientId;
  String? payTime;
  String? drugImage;
  String? confirm; // '0:没有提交过， 1:医生已经提交过，2:完成了(患者已经确认过)'
  String? orderSource;
  String? applyRefundTime;
  String? refundTime;
  String? applyReason;
  String? payStatus; // 'toPay：待支付; paySuccess：已支付；refund：已退费，refunding：申请退款中'
  String? refundAuditId;

  static MyDoctorServiceListModel fromJson(Map<String, dynamic> srcJson) =>
      _$MyDoctorServiceListModelFromJson(srcJson);

  Map<String, dynamic> toJson() => _$MyDoctorServiceListModelToJson(this);
}
